<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div class="topbar" th:fragment="top-bar">

    <!-- LOGO -->
    <div class="topbar-left">
        <a href="#" th:href="@{/index}" class="logo">
					<span>
						<img src="assets/images/logo-sm.png" th:src="@{/assets/images/logo-1.png}" alt="logo-small"
                             class="logo-sm">
					</span>
            <span>
						<img src="assets/images/logo.png" th:src="@{/assets/images/logo-2.png}" alt="logo-large"
                             class="logo-lg logo-light">
						<img src="assets/images/logo-dark.png" th:src="@{/assets/images/logo.png}" alt="logo-large"
                             class="logo-lg">
					</span>
        </a>
    </div>
    <!--end logo-->
    <!-- Navbar -->
    <nav class="navbar-custom">
        <ul class="list-unstyled topbar-nav float-right mb-0">
            <li class="dropdown">
                <a class="nav-link dropdown-toggle waves-effect waves-light nav-user" data-toggle="dropdown"
                   href="#" role="button" aria-haspopup="false" aria-expanded="false">
                    <img src="assets/images/users/user-1.png" th:src="@{/assets/images/users/user-1.png}"
                         alt="profile-user" class="rounded-circle"/>
                    <span class="ml-1 nav-user-name hidden-sm">
                        <span th:text="${session.user != null?session.user.userNike:'admin'}"></span>
                        <i class="mdi mdi-chevron-down"></i>
							</span>
                </a>
                <div class="dropdown-menu dropdown-menu-right">
                    <a class="dropdown-item" href="#"><i class="ti-user text-muted mr-2"></i> 用户中心</a>
                    <a class="dropdown-item" href="#"><i class="ti-settings text-muted mr-2"></i> 系统设置</a>
                    <a class="dropdown-item" href="#"><i class="ti-lock text-muted mr-2"></i> 锁屏</a>
                    <div class="dropdown-divider mb-0"></div>
                    <a class="dropdown-item" href="#" th:href="@{/logout}"><i class="ti-power-off text-muted mr-2"></i> 退出</a>
                </div>
            </li>
        </ul>
        <!--end topbar-nav-->

        <ul class="list-unstyled topbar-nav mb-0">
            <li>
                <button class="nav-link button-menu-mobile waves-effect waves-light">
                    <i class="ti-menu nav-icon"></i>
                </button>
            </li>
        </ul>
    </nav>
    <!-- end navbar-->
</div>
</body>
</html>